package com.fjut.kms.tools;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Empathy on 2017/8/17.
 */
public class TimeHelper {
    public static String getNowTime(){
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式
        return df.format(new Date());
    }
}
